Skip to content

Rstudio IDE

29 results found

  1. Error installing packages: UsingR

    install.packages('UsingR')
    Installing package into ‘/resources/common/R/Library’
    (as ‘lib’ is unspecified)
    also installing the dependency ‘Hmisc’
    ...
    gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-z,relro -o Hmisc.so Hmisc.o cidxcn.o cidxcp.o hoeffd.o init.o jacklins.o largrec.o mChoice.o maxempr.o nstr.o ranksort.o rcorr.o string_box.o wclosest.o -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
    /usr/bin/ld: cannot find -lgfortran
    collect2: error: ld returned 1 exit status
    make: *** [/usr/share/R/share/make/shlib.mk:6: Hmisc.so] Error 1

    I noticed that /usr/lib/libgfortran.so is a broken symbolic link.

    rstudio@bc8a66fb9e33:/resources/rstudio$ ls -l /usr/lib/libgfortran.so
    lrwxrwxrwx 1 root root 42 Aug 2 21:38 /usr/lib/libgfortran.so -> /usr/lib/x86_64-linux-gnu/libgfortran.so.3
    rstudio@bc8a66fb9e33:/resources/rstudio$ ls -lH /usr/lib/libgfortran.so
    ls: cannot access '/usr/lib/libgfortran.so': No such file or directory

    rstudio@bc8a66fb9e33:/resources/rstudio$ ls -l /usr/lib/x8664-linux-gnu/libgfortran.so.*

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. rJava package issue

    Recently i am unable to use the RWeka package in RStudio. It is because its related package rJava is not installing properly. This has happened quite recently. I investigated a bit and doubt if it has to do with mismatch of java versions in R and the JDK. Is it possible to update the Java with latest JDK 9? If you have any other solution in place, please let me know. At the moment, i am unable to use any package that has rJava package dependency. Appreciate your help in this

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. problem with table function

    Error: class(objId) == "jobj" is not TRUE

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Error installing Rstan

    I am trying to install "rstan" package from within rstudio. I got the error message saying "/usr/bin/ld: cannot find -lgfortran
    collect2: error: ld returned 1 exit status ..."

    This is probably because I do not have gfortran and its libraries installed. I know how to do this on my local Linux machine but don't know how to do it with the DSW cloud environment.

    Thanks.

    Best,
    Shige

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Trying to use SparkR but createDataFrame(sqlContext, data) fails

    I get the following error:
    Error in invokeJava(isStatic = FALSE, objId$id, methodName, ...) :
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0, localhost): java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:3236)
    at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
    at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
    at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1786)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1189)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    at org.apache.spark.serializer.JavaSerializationStream.writeObject(JavaSerializer.scala:44)
    at org.apache.spark.serializer.JavaSerializerInstance.serialize(JavaSerialize

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. 3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Update R to v3.4.2

    Some of the advanced packages like quanteda don't work with the older versions of R.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
2 Next →
  • Don't see your idea?

Rstudio IDE

Categories

Feedback and Knowledge Base