Re: [R] Problem Compiling v-4.x.x

2021-11-09 Thread Stephen P. Molnar




On 11/09/2021 04:52 AM, Duncan Murdoch wrote:

On 08/11/2021 3:56 p.m., Stephen P. Molnar wrote:



On 11/08/2021 03:15 PM, Duncan Murdoch wrote:

On 08/11/2021 2:57 p.m., Stephen P. Molnar wrote:

I have uptodate Debian Buster on my Linux platform and have been
compiling R distros for quite some time, usually with success.

This time I have encountered the same error in my attempts to compile
v-4..1.2 and then, when that failed, I had the same error with 
v-4.1.0.


The error in both cases was:

/home/comp/Downloads/R Packages/R-4.1.0/R-4.1.0/etc/Makeconf:10:
Packages/R-4.1.0/R-4.1.0/share/make/vars.mk: No such file or 
directory.


I don't have the faintest idea as to what is going on, and, even 
worse,

I don't know how to fix it.

Help will be greatly appreciated.



I think you'll need to describe what you did that led to this error.

Duncan Murdoch


True, very true. Sorroy for the omission.

./configure
/make



Hopefully Ivan's suggestion solves your problem. One thing I'd 
suggest: building in a different dir than the source.  All you need is 
to put the source in some dir (e.g. "src"), switch to an empty dir, 
and run src/configure from there, followed by make. This makes for a 
cleaner separation of source and products.


Duncan Murdoch


That was certainly a red-faced forehead slapper!!

I should have known better. I changed the name of ~/Downloads/R Packages 
to ~/Downloads/R_Packages and the problem went away.


Many thanks to you all for your patience and solutions.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Problem Compiling v-4.x.x

2021-11-08 Thread Stephen P. Molnar




On 11/08/2021 03:15 PM, Duncan Murdoch wrote:

On 08/11/2021 2:57 p.m., Stephen P. Molnar wrote:

I have uptodate Debian Buster on my Linux platform and have been
compiling R distros for quite some time, usually with success.

This time I have encountered the same error in my attempts to compile
v-4..1.2 and then, when that failed, I had the same error with v-4.1.0.

The error in both cases was:

/home/comp/Downloads/R Packages/R-4.1.0/R-4.1.0/etc/Makeconf:10:
Packages/R-4.1.0/R-4.1.0/share/make/vars.mk: No such file or directory.

I don't have the faintest idea as to what is going on, and, even worse,
I don't know how to fix it.

Help will be greatly appreciated.



I think you'll need to describe what you did that led to this error.

Duncan Murdoch


True, very true. Sorroy for the omission.

./configure
/make

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Problem Compiling v-4.x.x

2021-11-08 Thread Stephen P. Molnar
I have uptodate Debian Buster on my Linux platform and have been 
compiling R distros for quite some time, usually with success.


This time I have encountered the same error in my attempts to compile 
v-4..1.2 and then, when that failed, I had the same error with v-4.1.0.


The error in both cases was:

/home/comp/Downloads/R Packages/R-4.1.0/R-4.1.0/etc/Makeconf:10: 
Packages/R-4.1.0/R-4.1.0/share/make/vars.mk: No such file or directory.


I don't have the faintest idea as to what is going on, and, even worse, 
I don't know how to fix it.


Help will be greatly appreciated.

Thanks in advance.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R Script Modification Questions

2020-08-18 Thread Stephen P. Molnar
Thanks to the kind folks on this list, this is an elegant replacement 
for the clumsy R script that I that I wrote.





However, I do have a few changes that I would like to make. The problem 
is that while I know how to make changes in Python, I am still bumbling 
around in R Code.


The day-to-day changes in the data are in the cvs file downloaded in 
line 11 of the code.


What I would like to do is use linetype, rather than color, in line 27.

The date in the title of the plot , line 33, is the max value of the 
date in in line 14 and I would like to use that rather than edit the 
Script every time the date changes.


I'd appreciate assistance in making these changes.

Thanks in advance,.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Ggplot2 Line Problem

2020-08-17 Thread Stephen P. Molnar

Many thanks. That solved the problem.

On 08/17/2020 01:49 AM, Rui Barradas wrote:

Hello,

This type of problem is almost always a data reshaping problem.
ggplot graphics work better if the data is in the long format and you 
have 3 columns for counts, one column for each category. If you 
reformat from the current wide format to the long format you will have 
a date vector, a categorical variable and a counts variable.


In the code below just change geom_point to geom_line and the problem 
is solved.



library(tidyverse)
library(lubridate)

datO <- read.csv("https://api.covidtracking.com/v1/states/oh/daily.csv;)
datO[ ,1] <- ymd(datO[ ,1])

dfO <- tibble::as_tibble(data.frame(date = datO[ ,"date"],
positive = datO[ ,"positive"],
negative = datO[ ,"negative"],
total = datO[ ,"total"]))

dfO %>%
  pivot_longer(
cols = -date,
names_to = "cases",
values_to = "count"
  ) %>%
  mutate(cases = factor(cases, levels = c("positive", "negative", 
"total"))) %>%

  ggplot(aes(date, count, color = cases)) +
  geom_point() +
  scale_color_manual(name = "Test",
 labels = c("Positive", "Negative", "Total"),
 values = c("red", "blue", "green")) +
  ylim(0, 175) +
  labs(x = "Date", y = "Number of Tests")+
  ggtitle("COVID-19 Tests in Ohio \n (8/15/20)")+
  theme_bw() +
  theme(axis.text.x = element_text(angle = 30, hjust = 1),
plot.title = element_text(hjust = 0.5))



Hope this helps,

Rui Barradas


??s 02:00 de 17/08/20, Stephen P. Molnar escreveu:

I have cobbled together a short script to plot Covid-19 data.

setwd("~/Apps/Models/1-CoronaVirus")

library(tidyverse)
library(lubridate)

datO <- read.csv("https://api.covidtracking.com/v1/states/oh/daily.csv;)
datO[ ,1] <- ymd(datO[ ,1])

dfO <- tibble::as_tibble(data.frame(datO[ ,"date"],datO[ 
,"positive"],datO[ ,"negative"],datO[ ,"total"]))


dfO %>%
   ggplot(aes(x = datO[ ,"date"],y = datO[ ,"positive"]))+
   geom_point(color = 'red', size = 0.025)+
   geom_point(y = datO[ ,"negative"], color = 'blue', size = 0.025)+
   geom_point(y = datO[ ,"total"], color = "green", size = 0.025)+
   theme(axis.text.x = element_text(angle=30, hjust=1))+
   theme_bw()+
   scale_y_continuous(limits = c(0,175))+
   labs(x = "Date", y = "Number of Tests")+
   ggtitle("COVID-19 Tests in Ohio \n (8/15/20)")+
   theme(plot.title = element_text(hjust = 0.5))+
   scale_fill_discrete(name = "Test", labels = c("Positive", 
"Negative", "Total"))


Here is the plot:




but, if I want lines rather that the code (the aspplicable plines) uis:

ggplot(aes(x = datO[ ,"date"],y = datO[ ,"positive"]))+
   geom_line(linetype = "solid",color = 'red')+
   geom_line(linetype = "dotdash",y = datO[ ,"negative"], color = 
'blue')+

   geom_line(linetype = "twodash",y = datO[ ,"total"], color = "green")+




Now two of the plots are reversed. Google has not been a friend in 
finding a solution.


Help will be much appreciated.

Thanks in advance





--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Ggplot2 Line Problem

2020-08-16 Thread Stephen P. Molnar

I have cobbled together a short script to plot Covid-19 data.

setwd("~/Apps/Models/1-CoronaVirus")

library(tidyverse)
library(lubridate)

datO <- read.csv("https://api.covidtracking.com/v1/states/oh/daily.csv;)
datO[ ,1] <- ymd(datO[ ,1])

dfO <- tibble::as_tibble(data.frame(datO[ ,"date"],datO[ 
,"positive"],datO[ ,"negative"],datO[ ,"total"]))


dfO %>%
  ggplot(aes(x = datO[ ,"date"],y = datO[ ,"positive"]))+
  geom_point(color = 'red', size = 0.025)+
  geom_point(y = datO[ ,"negative"], color = 'blue', size = 0.025)+
  geom_point(y = datO[ ,"total"], color = "green", size = 0.025)+
  theme(axis.text.x = element_text(angle=30, hjust=1))+
  theme_bw()+
  scale_y_continuous(limits = c(0,175))+
  labs(x = "Date", y = "Number of Tests")+
  ggtitle("COVID-19 Tests in Ohio \n (8/15/20)")+
  theme(plot.title = element_text(hjust = 0.5))+
  scale_fill_discrete(name = "Test", labels = c("Positive", "Negative", 
"Total"))


Here is the plot:




but, if I want lines rather that the code (the aspplicable plines) uis:

ggplot(aes(x = datO[ ,"date"],y = datO[ ,"positive"]))+
  geom_line(linetype = "solid",color = 'red')+
  geom_line(linetype = "dotdash",y = datO[ ,"negative"], color = 'blue')+
  geom_line(linetype = "twodash",y = datO[ ,"total"], color = "green")+




Now two of the plots are reversed. Google has not been a friend in 
finding a solution.


Help will be much appreciated.

Thanks in advance

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Date Conversion Problem

2020-08-12 Thread Stephen P. Molnar
i have written an R script which allow me to plot the number of Covid-10 
cases reported by he state of Ohio. In that se t of data the date format 
is in the form -mm-dd.


My script uses:

datebreaks <- seq(as.Date("2020-01-01"), as.Date("2020-08-10"), by="1 week")
   .
   .
   .
  + scale_x_date(breaks=datebreaks)
  + theme(axis.text.x = element_text(angle=30, hjust=1))

to plot the data.

The COVID Tracking Project publishes considerably more data than does 
the state of Ohio. However, The project supplies daily statistics using 
the date format MMDD.I have done some searching, but I can't seem to 
find a solution (that I can understand).


How can I change the date forma from MMDD tp -MM-DD?

Thanks is advanced.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Missing Library

2019-07-15 Thread Stephen P. Molnar

I have installed RStudio in my new implementation of Debian Buster.
\
comp@AbNormal:~/Downloads/RStudio$ sudo -s dpkg -i 
rstudio-1.2.1335-amd64.deb

(Reading database ... 149026 files and directories currently installed.)
Preparing to unpack rstudio-1.2.1335-amd64.deb ...
Unpacking rstudio (1.2.1335) over (1.2.1335) ...
Setting up rstudio (1.2.1335) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.10-1) ...
comp@AbNormal:~$ export RSTUDIO_CHROMIUM_ARGUMENTS="--disable-gpu"
comp@AbNormal:~$ /usr/bin/rstudio
/usr/bin/rstudio: error while loading shared libraries: libssl.so.1.0.2: 
cannot open shared object file: No such file or directory


The Stretch version of libssl is 1.1.1c-1

This is having a major impact on my research program and I really need a 
solution.


Thanks in advance.

--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
http://www.Molecular-Modeling.net   Multivariate and stochastic
614.312.7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] RStudio and R version 3.0

2013-04-05 Thread Stephen P. Molnar
On Fri, 05 Apr 2013 08:00:16 -0400
John Sorkin jsor...@grecc.umaryland.edu wrote:

 Windows 7 32 bit
 R 3.0
 RStudio that previously worked with R versions prior to R3.0
  
 Colleagues,
 I just downloaded R 3.0.  When I try to launch RStudio (which was
 previously on my computer), I get a message, R Session has a fatal
 error. Any suggestions for getting RStudio up and running would be
 appreciated. Thank you, John 
  
  
  
 John David Sorkin M.D., Ph.D.
 Chief, Biostatistics and Informatics
 University of Maryland School of Medicine Division of Gerontology
 Baltimore VA Medical Center
 10 North Greene Street
 GRECC (BT/18/GR)
 Baltimore, MD 21201-1524
 (Phone) 410-605-7119
 (Fax) 410-605-7913 (Please call phone number above prior to faxing)
 Confidentiality Statement:
 This email message, including any attachments, is for ...{{dropped:18}}

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Installing R-2.15.2 in Debian Wheezy/Testing

2012-12-31 Thread Stephen P. Molnar
The current version of R that is available in Wheezy is 2.15.1. However, 
version 2.15.2 is available at CRAN sites.  The site I use is 
http://cran.case.edu/bin/linux/debian which states:


'If you want to have up to date R on wheezy I propose to directly 
install Dirks packages from unstable (sid) by creating a file 
/etc/apt/preferences containing

   Package: *
   Pin: release a=testing
   Pin-Priority: 650

   Package: *
   Pin: release a=unstable
   Pin-Priority: 600

and adding a line for unstable in /etc/apt/sources.list.'

I assume that the preference file should be in /etc/apt and not in 
/etc/apt/preferences.d


My question is what should be the format of the line in the sources.lists?

Thanks in advance

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Problem Installing a Package

2012-08-29 Thread Stephen P. Molnar
I have just installed the latest version of R on a openSUSE 12.1 system 
running on an ORacle VM VirtualBox and have encountered a problem with 
installing ChemometricsWithR.  Here is the output:

 library(compiler)
 install.packages(ChemometricsWithR)
Installing package(s) into ‘/home/computation/R/x86_64-unknown-linux-gnu-
library/2.15’
(as ‘lib’ is unspecified)
also installing the dependency ‘TIMP’

trying URL 'http://cran.case.edu/src/contrib/TIMP_1.10.2.tar.gz'
Content type 'application/x-gzip' length 1103361 bytes (1.1 Mb)
opened URL
==
downloaded 1.1 Mb

trying URL 'http://cran.case.edu/src/contrib/ChemometricsWithR_0.1.5.tar.gz'
Content type 'application/x-gzip' length 128302 bytes (125 Kb)
opened URL
==
downloaded 125 Kb

* installing *source* package ‘TIMP’ ...
** package ‘TIMP’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/local/lib64/R/include -DNDEBUG  -I/usr/local/include
-fpic  -g -O2  -c ntr.c -o ntr.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o TIMP.so ntr.o -
L/usr/local/lib64/R/lib -lR
installing to /home/computation/R/x86_64-unknown-linux-gnu-
library/2.15/TIMP/libs
** R
** data
** inst
** preparing package for lazy loading
Warning: S3 methods ‘$.tclvar’, ‘$-.tclvar’, ‘as.character.tclObj’, 
‘as.character.tclVar’, ‘as.double.tclObj’, ‘as.integer.tclObj’, 
‘as.logical.tclObj’, ‘as.raw.tclObj’, ‘print.tclObj’, ‘[[.tclArray’, 
‘[[-.tclArray’, ‘$.tclArray’, ‘$-.tclArray’, ‘names.tclArray’, 
‘names-.tclArray’, ‘length.tclArray’, ‘length-.tclArray’, ‘tclObj.tclVar’, 
‘tclObj-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’, ‘tclvalue.tclVar’, 
‘tclvalue-.default’, ‘tclvalue-.tclVar’, ‘close.tkProgressBar’ were declared 
in NAMESPACE but not found
Error : .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: Tcl/Tk support is not available on this system
Error : package ‘tcltk’ could not be loaded
ERROR: lazy loading failed for package ‘TIMP’
* removing ‘/home/computation/R/x86_64-unknown-linux-gnu-library/2.15/TIMP’
Warning in install.packages :
  installation of package ‘TIMP’ had non-zero exit status
ERROR: dependency ‘TIMP’ is not available for package ‘ChemometricsWithR’
* removing ‘/home/computation/R/x86_64-unknown-linux-gnu-
library/2.15/ChemometricsWithR’
Warning in install.packages :
  installation of package ‘ChemometricsWithR’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpPhC7gJ/downloaded_packages’

The openSUSE package installer didn't find a package Tcl/TK

Assistance and advice will be much appreciated.

Thanks in advance.



-- 
Stephen P. Molnar, Ph.D.   Life is a fuzzy set
Foundation for Chemistry Stochastic and multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Virus Infection in colorspace_1.1-1.zip (R x64 2.14.1)

2012-01-24 Thread Stephen P Molnar
I keep finding the Win32\Huer virus in colorspace_1.1-1.zip for R x64 2.14.1
running MS Windows 7.  As a result I am not able to use rattle or
ChemometricsWithR.  I have tried several different mirrors with the same
result.  Fortunately AVG has caught and quarantined the problem, but the
colorspace package is not available.

 

I can use the package on my Linux OS, but, of course, Linux isn't bothered
by viruses.

 

I'm posting this to the list as I am not sure just what to do with the
information.

 

Stephen P. Molnar, Ph.D.  Life is a
fuzzy set

Foundation for Chemistry Stochastic
and multivariate

http://www.FoundationForChemistry.com

(614)312-7528 (c)

Skype:  smolnar1 

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Psuedoinverse of a Non-square Matrix

2011-04-30 Thread Stephen P. Molnar
Is there an R package for the psuedoinversion of non-square matrices, similiar 
to to pinv MATLAB function?

Thanks in advance.

-- 
Stephen P. Molnar, Ph.D.Life is a fuzzy set
Foundation for ChemistryStochastic and multivarate
http://www.FoundationForChemistry.com
614.312.7528 (c)

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Psuedoinverse of a Non-square Matrix

2011-04-30 Thread Stephen P. Molnar
On Sat, 30 Apr 2011 10:53:00 -0700 (PDT)
Berend Hasselman b...@xs4all.nl wrote:

 
 Stephen P Molnar wrote:
  
  Is there an R package for the psuedoinversion of non-square matrices,
  similiar to to pinv MATLAB function?
  
 
 ginv in package MASS
 pseudoinverse in package corpcor
 
 Berend--
 View this message in context: 
 http://r.789695.n4.nabble.com/Psuedoinverse-of-a-Non-square-Matrix-tp3486247p3486302.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

Thanks

-- 
Stephen P. Molnar, Ph.D.Life is a fuzzy set
Foundation for ChemistryStochastic and multivarate
http://www.FoundationForChemistry.com
614.312.7528 (c)

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Two Copies of Each Message

2011-04-22 Thread Stephen P Molnar
I receive two copies of every message posted to this list.

 

How can I stop this?  I have read the Primary Help web page and searched the
achieves without finding an answer.

 

Thanks in advance.

 

Stephen P. Molnar, Ph.D.  Life is a
fuzzy set

Foundation for Chemistry Stochastic
and multivariate

http://www.FoundationForChemistry.com

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Two Questions

2011-04-20 Thread Stephen P Molnar
Sorry for the somewhat nondescript subject line, but I have two questions:

 

1.What is a really good book on R for a nonprogrammer?

2.   How do I open more than one R Graphics: Device 2(ACTIVE).  That
what is the R command that I can use to keep more than one plot open.  I am
running a script from a book on Chemometrics that results in more than one
graph during the execution, but it seems that R deletes each graph when the
script calls for the next plot.

 

Thanks in advance

 

Stephen P. Molnar, Ph.D.  Life is a
fuzzy set

Foundation for Chemistry Stochastic
and multivariate

http://www.FoundationForChemistry.com

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Problem Installing rJava on MS Win 7 Platform

2011-04-09 Thread Stephen P. Molnar
That's true.  However, Java is installed on the machine.

On Thu, 7 Apr 2011 14:40:54 -0400
David Winsemius dwinsem...@comcast.net wrote:

 He said Java, not rJava.
 
 On Apr 7, 2011, at 11:51 AM, Stephen P Molnar wrote:
 
  Thanks for the reply.
 
  Yes, you are quite correct, but:
 
  install.packages('rJava')
  Warning in install.packages(rJava) :
   argument 'lib' is missing: using
  'C:\Users\Stephen\Documents/R/win64-library/2.11'
  --- Please select a CRAN mirror for use in this session ---
  Warning: unable to access index for repository
  http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11
 
  trying URL 'http://cran.case.edu/bin/windows64/contrib/2.11/rJava_0.8-5.zip'
  Content type 'application/zip' length 658913 bytes (643 Kb)
  opened URL
  downloaded 643 Kb
 
  package 'rJava' successfully unpacked and MD5 sums checked
 
  The downloaded packages are in
 C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb 
  \downloaded_packages
 
  install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb 
  \downloaded_
 
   There is a semi-colon in that path above that looks wrong. You might  
 first want to check that all your PATH entries are recorded properly.
 
 -- 
 David.
  $
  Error: '\U' used without hex digits in character string starting C; 
  \U
 
 
  So, obviously, at this point I am attempting something that R does  
  not like.
 
 
 
 
 
 
  Stephen P. Molnar, Ph.D.   
  Life is a
  fuzzy set
  Foundation for Chemistry  
  Stochastic
  and multivriate
  http://www.FoundationForChemistry.com
 
 
  -Original Message-
  From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
  Sent: Thursday, April 07, 2011 11:34 AM
  To: Stephen P Molnar
  Cc: r-help@r-project.org
  Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform
 
  You failed to install an appropriate Java version.
 
  Best,
  Uwe Ligges
 
 
  On 07.04.2011 16:30, Stephen P Molnar wrote:
  I'm a new R user and, frankly, this problem has got me stumped.
 
 
 
  I'm using the 64 bit version of RGui and followed the installation
  instructions on http://www.rforge.net/rJava/
 
 
 
  Here is the result:
 
 
 
  package 'rJava' successfully unpacked and MD5 sums checked
 
  library(rJava)
 
  Error in utils::readRegistry(key, HLM, 2) :
 
Registry key 'Software\JavaSoft\Java Runtime Environment' not found
 
  Error in utils::readRegistry(key, HLM, 2) :
 
Registry key 'Software\JavaSoft\Java Development Kit' not found
 
  Error : .onLoad failed in loadNamespace() for 'rJava', details:
 
call: fun(...)
 
error: JAVA_HOME cannot be found from the Registry
 
  Error: package/namespace load failed for 'rJava'
 
 
 
  I don't Have the faintest idea as t what I've done, or failed to do.
 
 
 
  Assistance will be greatly appreciated.
 
 
 
  Thanks in advance.
 
 
 
  Stephen P. Molnar, Ph.D.   
  Life is
  a
  fuzzy set
 
  Foundation for Chemistry
  Stochastic
  and multivriate
 
  http://www.FoundationForChemistry.com
 
 
 
 
 [[alternative HTML version deleted]]
 
  __
  R-help@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide
  http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.
 
  __
  R-help@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.
 
 David Winsemius, MD
 West Hartford, CT
 


-- 
Stephen P. Molnar, Ph.D.Life is a fuzzy set
Foundation for ChemistryStochastic and multivarate
http://www.FoundationForChemistry.com
614.312.7528 (c)

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Problem Installing rJava on MS Win 7 Platform

2011-04-07 Thread Stephen P Molnar
I'm a new R user and, frankly, this problem has got me stumped.

 

I'm using the 64 bit version of RGui and followed the installation
instructions on http://www.rforge.net/rJava/

 

Here is the result:

 

package 'rJava' successfully unpacked and MD5 sums checked

 library(rJava)

Error in utils::readRegistry(key, HLM, 2) : 

  Registry key 'Software\JavaSoft\Java Runtime Environment' not found

Error in utils::readRegistry(key, HLM, 2) : 

  Registry key 'Software\JavaSoft\Java Development Kit' not found

Error : .onLoad failed in loadNamespace() for 'rJava', details:

  call: fun(...)

  error: JAVA_HOME cannot be found from the Registry

Error: package/namespace load failed for 'rJava'

 

I don't Have the faintest idea as t what I've done, or failed to do.

 

Assistance will be greatly appreciated.

 

Thanks in advance.

 

Stephen P. Molnar, Ph.D.  Life is a
fuzzy set

Foundation for Chemistry Stochastic
and multivriate

http://www.FoundationForChemistry.com

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Problem Installing rJava on MS Win 7 Platform

2011-04-07 Thread Stephen P Molnar
Thanks for the reply.

Yes, you are quite correct, but:

 install.packages('rJava')
Warning in install.packages(rJava) :
  argument 'lib' is missing: using
'C:\Users\Stephen\Documents/R/win64-library/2.11'
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11
trying URL 'http://cran.case.edu/bin/windows64/contrib/2.11/rJava_0.8-5.zip'
Content type 'application/zip' length 658913 bytes (643 Kb)
opened URL
downloaded 643 Kb

package 'rJava' successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb\downloaded_packages

install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb\downloaded_
$
Error: '\U' used without hex digits in character string starting C;\U


So, obviously, at this point I am attempting something that R does not like.

Stephen P. Molnar, Ph.D.  Life is a
fuzzy set
Foundation for Chemistry Stochastic
and multivriate
http://www.FoundationForChemistry.com


-Original Message-
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] 
Sent: Thursday, April 07, 2011 11:34 AM
To: Stephen P Molnar
Cc: r-help@r-project.org
Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform

You failed to install an appropriate Java version.

Best,
Uwe Ligges


On 07.04.2011 16:30, Stephen P Molnar wrote:
 I'm a new R user and, frankly, this problem has got me stumped.



 I'm using the 64 bit version of RGui and followed the installation
 instructions on http://www.rforge.net/rJava/



 Here is the result:



 package 'rJava' successfully unpacked and MD5 sums checked

 library(rJava)

 Error in utils::readRegistry(key, HLM, 2) :

Registry key 'Software\JavaSoft\Java Runtime Environment' not found

 Error in utils::readRegistry(key, HLM, 2) :

Registry key 'Software\JavaSoft\Java Development Kit' not found

 Error : .onLoad failed in loadNamespace() for 'rJava', details:

call: fun(...)

error: JAVA_HOME cannot be found from the Registry

 Error: package/namespace load failed for 'rJava'



 I don't Have the faintest idea as t what I've done, or failed to do.



 Assistance will be greatly appreciated.



 Thanks in advance.



 Stephen P. Molnar, Ph.D.  Life is
a
 fuzzy set

 Foundation for Chemistry
Stochastic
 and multivriate

 http://www.FoundationForChemistry.com




   [[alternative HTML version deleted]]

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Problem Installing R-Commander

2010-08-20 Thread Stephen P Molnar
I am trying to install R Commander in my R installation on a laptop running
the 64 bit version of Windows 7 Professional.  I was running R as the
Administrator.

 

The downloads proceed normally via CRAN, but then I get the following error
messages:

 

package 'slam' successfully unpacked and MD5 sums checked

package 'fBasics' successfully unpacked and MD5 sums checked

Error in normalizePath(path) : 

  path[1]=E:\Program Files\R\R-2.11.1-x64\library/fBasics: The system
cannot find the file specified

 

and, sure enough, when I look fBasics in missing.

 

Please advise.

 

Thanks in advance

 

Stephen P. Molnar, Ph.D.  Life is a
fuzzy set

Foundation for Chemistry Stochastic
and multivriate

http://www.FoundationForChemistry.com

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.