Displaying 20 results from an estimated 5000 matches similar to: "R CMD build/check on Windows 7"
2012 Jul 17
1
R CMD build/check on Windows 7
Folks:
sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] datasets splines grid tcltk stats graphics grDevices
[8] utils
2012 Jul 17
0
R CMD build/check on Windows 7 -- Please ignore
I will repost on R-devel.
-- Bert
On Tue, Jul 17, 2012 at 10:32 AM, Prof Brian Ripley
<ripley@stats.ox.ac.uk>wrote:
> On 17/07/2012 18:20, Bert Gunter wrote:
>
>> Folks:
>>
>> sessionInfo()
>> R version 2.15.0 (2012-03-30)
>> Platform: i386-pc-mingw32/i386 (32-bit)
>>
>> locale:
>> [1] LC_COLLATE=English_United States.1252
>> [2]
2012 Jun 09
2
Matrix package loading problem "Error : object ‘kronecker’ is not exported by 'namespace:methods'"
Hi R users all ,
I have a clean install of R-2.15.0 in a win32 machine and a problem loading
Matrix 1.0-6 that looks like this:
> library(Matrix)
Loading required package: lattice
Error : object ?kronecker? is not exported by 'namespace:methods'
Error: package/namespace load failed for ?Matrix?
>
I understand that kronecker() now has an S4 generic in package methods. Is
that a
2013 Apr 05
1
mixed formatting of integer and numeric (e. g., by summary.default())
Hello, eveRybody,
I've been trying to find the origin for the following
formatting-"inconsistency":
E. g., look at the number of digits in summary.defaults()'s output when
NAs occur: in my example below the number of NA's is displayed as an
integer, the rest as numeric (floating point numbers):
> summary.default( c( 1:2, NA))
Min. 1st Qu. Median Mean 3rd Qu.
2012 Mar 30
1
lubridate:ymd_hm and coercion of class POSIXct. Smooth way to restore the date format.
Dear all,
I wish to create a POSIXct variable from date and time variables using the ymd_hm function in package lubridate. In some cases data for time is missing, which causes a problem for ymd_hm. I wish to find a smooth way to handle this.
# Some example data:
x <- data.frame(date = c("2011-09-22", "2011-07-28"), time = c("15:00", NA))
x
# paste date and
2010 Nov 11
3
User input after opening graphing device
If I run the following:
> windows()
>
> bringToTop(-1)
>
> interactive()
[1] TRUE
>
> run <- readline(prompt = "Continue (Yes = 1, No = 2):")
Continue (Yes = 1, No = 2):
> dummy <- 1
> run
[1] ""
it does not allow user input though the session is interactive (it jumps right over the readline command).
It would be great
2011 Feb 15
1
Cairo device won't output the PNG
Hi All,
I have been experiencing a strange issue ever since I upgraded my R and the packages. I cannot plot anything to the CairoPNG device.For an example:> Cairo(600, 600, file="plot.png", type="png", bg="white")> plot(1:10)> dev.off()will create an empty plot.png file. I am running R 2.12.1 (32bit) on Windows 7 (64bit).
----------------------------->
2011 Feb 14
1
readPNG gives warnings and doesn't execute sample code from help files
Dear all,
I noticed in the latest R version (R.2.12.1) that the readPNG gives
following warning when running the example code in the help file (or
when using any other png for that matter) :
50: In rasterImage(img, 1.2, 1.27, 1.8, 1.73) :
Per-pixel alpha not supported on this device
No picture is shown, and code I used to be able to run, doesn't run any more.
> sessionInfo()
R version
2011 Jul 19
2
strange problem with strptime and date variable
Hello all,
I am manipulating a large database with 70,000 records. "strptime" generates
a date variable but R treats some of the values as NA. I attach a simple
example below.
I have spent hours on this problem. Any hint would be greatly appreciated.
Many thanks,
Edwin Sun
# =======start of sample code =============
> x <- c("2005-04-02 19:03:00", "2005-04-03
2011 Apr 21
1
Package check issue: Rprofile.site is not used
Dear R-users,
I am having some issues with a package I am working on (using R 2.12.1 in a
Linux environment) and would like to have your opinions/advises. My package
- let's call it mypackage for the purpose of this email - passes all checks
of R CMD check, except for the following failure message:
Error : .onLoad failed in loadNamespace() for 'mypackage', details:
call:
2005 Jun 07
9
how to define functions in such a situation
hi R folks,
I need read a file from hardisk or www web. Then I need to define some
new functions according to the contents of the read file.
For example, i need write a package name "mypackage" like this:
>library(mypackage)
>read(some_file_on_web) #to see its content, suppose it contains:
eat.drink.sleep
then 3 new functions need to be created and usable.
the problem is, how
2012 May 25
1
Multiple rms summary plots in a single device
I would like to incorporate multiple summary plots from the rms
package into a single device and to control the titles, and also to
open a new device when I reach a specified number of plots. Currently
I am only getting a single "plot(summary(" graph in the upper left-
hand corner of each successive device. However, in the rms
documention I see instances of a loop being used with
2011 Dec 17
1
odfWeave error
I am new to using odfWeave but I have encountered a problem running
both the example in the help file as well as another file.? I am not
sure how to correct the error.
First example:
library(odfWeave)
filein <- 'c:\\my documents\\example01_in.odt'
fileout <- 'c:\\my documents\\example01.odt'
odfWeave(filein, fileout, control = odfWeaveControl(cleanup = T))
error:
2011 Dec 16
1
odfWeave
I am new to using odfWeave but I have encountered a problem running both
the example in the help file as well as another file. I am not sure how to
correct the error.
First example:
library(odfWeave)
filein <- 'c:\\my documents\\example01_in.odt'
fileout <- 'c:\\my documents\\example01.odt'
odfWeave(filein, fileout, control = odfWeaveControl(cleanup = T))
error:
2011 May 12
2
Change font size in Windows
My day for dumb questions. How do I increase the type size in the Rgui console in Windows? (R-2.13.0, Windows 7)
It looked to me that I just needed to change the font spec in Rconsole but that does not seem to be working.
The R FAQ for Windows has a reference in Q3.4 to changing fonts, (Q5.2), but I don't see anything relevant there.
Rconsole originally was:
font = TT Courier New
points =
2013 Oct 30
1
unique(1:3,nmax=1) freezes R
Dear all,
I was playing around with factor contrasts, and found the argument nmax on function factor. When using nmax=1, R froze completely, and I had to close it from task manager. After some debugging, I found that the problem is actually in unique-function, where the internal unique function is called:
.Internal(unique(x, incomparables, fromLast, nmax))
More generally, it looks like
2004 Nov 29
2
Building latest version of package
Hi
I have a package which was built using R 1.9.1 and everything worked
fine. I recently upgraded to R 2.0.1 and tried to re-install my package
- and I got:
Error in library(mypackage) : 'mypackage' is not a valid package --
installed < 2.0.0?
So I tried rebuilding it using my new version of R:
R CMD BUILD --binary mypackage
hhc: not found
cp: cannot stat `mypackage.chm': No
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R,
which calls myfunction.c via .C("myfunction", ...).
I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c
in the terminal. Then, in the R console:
dyn.load("myfunction.so")
source("myfunction.R")
test <- myfunction() # works fine
So everything is in order, myfunction works
2011 Aug 02
2
R CMD check problem
Dear friends,
I am building an R package called *mypackage*. I followed every possible
steps (to my understanding) for the same. I got following problem while
doing *R CMD check mypackage*.
* installing *source* package 'mypackage' ...
** libs
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
Preferred POSIX equivalent is:
2015 Oct 31
1
Example input data with example output using relative pathway in vignette of R package?
I'm putting together an R package. I would like to show example code in the
vignette, where example data files (included in the package) are used to
generate an (example) output file.
I read about using example data in Hadley Wickham's post (
http://r-pkgs.had.co.nz/data.html), and believe I should keep my example
data as raw data, as it must be parsed to generate the output.
So, I