Git Product home page Git Product logo

Comments (14)

ananthr avatar ananthr commented on April 28, 2024 2

Thanks huahang; we're a little busy at the moment but we'll get back to this as soon as possible.

from rappor.

huahang avatar huahang commented on April 28, 2024

I have done a little bit debugging. It seems the line of code that causes this error is:

https://github.com/google/rappor/blob/master/analysis/R/alternative.R#L79

And the call stack is:

ConstrainedLinModel alternative.R
FitDistribution decode.R
Decode decode.R
RunRappor tests/compare_dist.R

I'm new to R. I hope this information would be useful.

from rappor.

wjz0811 avatar wjz0811 commented on April 28, 2024

Hi ananthr,

A fan of the RAPPOR algorithm, I wonder if there has been a solution for this error yet?

Thanks a lot,
Jinzhao

from rappor.

OLDFE avatar OLDFE commented on April 28, 2024

Is this problem fixed yet?I'm in trouble too

from rappor.

jerryhive avatar jerryhive commented on April 28, 2024

Just downloaded the RAPPOR, got the same issue.
coefs <- do.call(lsei, model)$X caused the issue

ConstrainedLinModel <- function(X,Y) {
model <- MakeLseiModel(X, Y$estimates, Y$stds)
coefs <- do.call(lsei, model)$X
names(coefs) <- colnames(X)
coefs
}

Any solution?

from rappor.

Enjoyeer avatar Enjoyeer commented on April 28, 2024

As mentioned above,I got error message"no method for coercing this S4 class to a vector" when try to run demo.sh

from rappor.

shuailishasls avatar shuailishasls commented on April 28, 2024

As mentioned above,I got error message"no method for coercing this S4 class to a vector" when try to run demo.sh

R package is installed according to setup.sh, I succeeded

from rappor.

Enjoyeer avatar Enjoyeer commented on April 28, 2024

As mentioned above,I got error message"no method for coercing this S4 class to a vector" when try to run demo.sh

R package is installed according to setup.sh, I succeeded

thanks shuailishasls
I try to install R according to setup.sh. But it seems the default version is 3.0.2,and ggplot2 package is incompatible with R 3.0.2. I have spent 2 days on it.

from rappor.

shuailishasls avatar shuailishasls commented on April 28, 2024

As mentioned above,I got error message"no method for coercing this S4 class to a vector" when try to run demo.sh

R package is installed according to setup.sh, I succeeded

thanks shuailishasls
I try to install R according to setup.sh. But it seems the default version is 3.0.2,and ggplot2 package is incompatible with R 3.0.2. I have spent 2 days on it.

U can install the package before 2015,such as ggplot2_1.0.0.tar.gz.

from rappor.

Enjoyeer avatar Enjoyeer commented on April 28, 2024

As mentioned above,I got error message"no method for coercing this S4 class to a vector" when try to run demo.sh

R package is installed according to setup.sh, I succeeded

thanks shuailishasls
I try to install R according to setup.sh. But it seems the default version is 3.0.2,and ggplot2 package is incompatible with R 3.0.2. I have spent 2 days on it.

U can install the package before 2015,such as ggplot2_1.0.0.tar.gz.

thanks a lot!
Follow your suggestion,I installed almost a dozen packages before 2015,Thank goodness,it worked!.

from rappor.

rbhk1 avatar rbhk1 commented on April 28, 2024

Hello,
Has this problem been solved?
Thanks

from rappor.

lilyhhha avatar lilyhhha commented on April 28, 2024

As mentioned above,I got error message"no method for coercing this S4 class to a vector" when try to run demo.sh

R package is installed according to setup.sh, I succeeded

thanks shuailishasls
I try to install R according to setup.sh. But it seems the default version is 3.0.2,and ggplot2 package is incompatible with R 3.0.2. I have spent 2 days on it.

U can install the package before 2015,such as ggplot2_1.0.0.tar.gz.

hello ,can you help me to revolve this problem?It appearances when I run ./demo.sh. Hope your reply,thanks.

~/rappor-master/rappor-master/client/cpp ~/rappor-master/rappor-masterg++ -Wall -Wextra -I_tmp/ -c -o _tmp/openssl_hash_impl.o openssl_hash_impl.cc openssl_hash_impl.cc:20:10: fatal error: openssl/evp.h: No such file or directory#include <openssl/evp.h> // EVP_sha256compilation terminated.Makefile:75: recipe for target '_tmp/openssl_hash_impl.o' failed make: *** [_tmp/openssl_hash_impl.o] Error 1

from rappor.

lilyhhha avatar lilyhhha commented on April 28, 2024

我已经做了一些调试。似乎导致此错误的代码行是:

https://github.com/google/rappor/blob/master/analysis/R/alternative.R#L79

调用堆栈是:

ConstrainedLinModel alternative.R
FitDistribution decode.R
Decode decode.R
RunRappor tests/compare_dist.R

我是R的新手。我希望这些信息会有所帮助。

Hello, have you solved the problem at that time? Could you please help me? I run these files all reported errors../buid.sh and ./demo.sh

from rappor.

lilyhhha avatar lilyhhha commented on April 28, 2024

Hi,

I get the following error when I try to run demo.sh. What's wrong here?

Thanks, Huahang

_____ 1.330 Parsing _tmp/cpp/demo3/case_map.csv
Error in as.vector(data) : 
  no method for coercing this S4 class to a vector
Calls: main ... as.matrix -> as.matrix.default -> array -> as.vector

Hello, have you solved the problem back there? I hope I can contact you and teach me for a fee. Thank you. I'm installing.sh and these are getting a lot of errors.

from rappor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.