Displaying 20 results from an estimated 300 matches similar to: "Installing R-packages in Windows"
2007 Mar 08
2
Problems with different mail clients
I use dovecot as my imap server, and everything is ok.
I used an IMAP client from Windows XP (Outlook Express) as well as Pocket PC (Windows Mobile 5) and webmail.
The problem is that I recently used Windows Vista and its imap client (Windows Mail), and problems began.
>From the Windows XP machine, all is ok, but from the Pocket PC a weird thing happens:
When I first configure the client,
2008 May 21
1
rawToChar(raw(0))
Hi,
right now we have (on R v2.7.0 patched (2008-04-23 r45466)) that:
> rawToChar(raw(0))
[1] ""
> rawToChar(raw(0), multiple=TRUE)
character(0)
Is this intended or should both return character(0)? Personally, I
would prefer that an empty input vector returns an empty output
vector. Same should then apply to charToRaw(), but right now we get:
> x <- character(0)
>
2012 May 28
1
[LLVMdev] Make install drops 64-bit LLVM in Windows x86 program folder
Hi,
I just did a "make install" on Win7x64 using Mingw64 and it dropped off the
files in "C:\Program Files (x86)\LLVM". That's almost right, but nicer
would be if the 64-bit build was dropped off in "C:\Program Files\LLVM".
I am fairly confident that it is me who is doing something wrong because I
simply do this:
(retrieve trunk version of LLVM, Clang,
2013 May 08
1
getting corrupted data when using readBin() after seek() on a gzfile connection
Hi,
I'm running into more issues when reading data from a gzfile connection.
If I read the data sequentially with successive calls to readBin(), the
data I get looks ok. But if I call seek() between the successive calls
to readBin(), I get corrupted data.
Here is a (hopefully) reproducible example. See my sessionInfo() at the
end (I'm not on Windows, where, according to the man page,
2007 Aug 07
2
Embedded nuls in strings
Hi,
?rawToChar
'rawToChar' converts raw bytes either to a single character string
or a character vector of single bytes. (Note that a single
character string could contain embedded nuls.)
Allowing embedded nuls in a string might be an interesting experiment but it
seems to cause some troubles to most of the string manipulation functions.
A string with an embedded 0:
2013 May 03
1
untar() error
Dear List,
I have a list of 600+ *.gz files that I would like to extract and read the
geotiffs contained within them. I tried using the untar() function to
simplify this task but I am stumped by an error. I've combed the Internet
for a solution without luck. The details are below, and any help in solving
this matter is appreciated.
> files = list.files(path = "J:/GIMMS/NDVI",
2008 Apr 28
4
R 2.7.0, match() and strings containing \0 - bug?
Hi,
A piece of my code that uses readBin() to read a certain file type is
behaving strangely with R 2.7.0. This seems to be because of a failure
to match() strings after using rawToChar() when the original was
terminated with a "\0" character. Direct equality testing with ==
still works as expected. I can reproduce this as follows:
> x <- "foo"
> y <-
2013 Apr 10
1
Issue with Control-Z in a text file on Windows - readLines() appears to truncate
Working on Windows I have had to deal with CSV files that,
unfortunately, contain embedded Control-Zs, i.e. ASCII character 26 in
decimal, and the readLines() function in R on Windows (2.15.2 and
3.0.0) appears to truncate at the control-Z. There is no problem at
all on Ubuntu Linux with R 3.0.0.
Am I mistaken or is this genuine?
# Create a small file with embedded Control-Z
h3 <-
2013 Jul 15
2
Serialize data.frame to database
Dear R-Users,
I need a very fast and reliable database solution so I try to serialize a data.frame (to binary data) and to store this data to an SQLite database.
This is what I tried to do:
library(RSQLite)
con <- dbDriver("SQLite")
db <- dbConnect(con, "test")
dbSendQuery(db, 'CREATE TABLE frames("simID" INT, "data" BLOB)')
data.bin <-
2007 Dec 17
1
Windows Screensavers
Hi all!
I have found a way to get using (some of) Windows Screensavers using an
AutoHotkey script to start them automatically. If someone is interested, I
can post a short howto soon.
Frederic
--
View this message in context: http://www.nabble.com/Windows-Screensavers-tp14370124p14370124.html
Sent from the Wine - Users mailing list archive at Nabble.com.
2014 Feb 04
0
capture.output(): Using a rawConnection() [linear] instead of textConnection() [exponential]?
I've noticed that the processing time for the default capture.output()
grows exponentially in the number of characters outputted/captured.
The default settings sinks to a temporary textConnection(). When
instead sinking to a rawConnection(), the processing time becomes
linear. See below example and attached PNG figure [also at
2011 Apr 19
1
print.raw - but convert ASCII?
Does anyone know if there is a simple way to print raw vectors, such
that ASCII characters are printed for bytes in the ASCII range, and
their hex representation otherwise? rawToChar doesn't work when we have
something like c(0x00, 0x00, 0x44, 0x00).
-Matt
2010 Feb 19
1
[PATCH/cygwin] reduce number of propagated environment variables
Hi,
could somebody apply the below patch, please? It removes a couple of
environment variables which are propagated to the child process so far,
but which not really necessary to keep child processes running. What's
left now is the bare minimum which is requested by scripts, typically.
Thanks,
Corinna
Index: openbsd-compat/bsd-cygwin_util.c
2008 Jul 11
1
Error Installing programs
Whenever I install my programs from a cd I get this error:
Code:
The InstallShield Engine (IKernel.exe) could not be installed.
The folder '%SystemDrive%' could not be created.
Make Sure that you have the appropriate privileges to create this folder.
(0x13)
I am running Wine 1.0 on Fedora 9. Any ideas?
2003 Oct 06
1
Install a Printer Driver with no INF file?
I would like to install the Adobe Generic PS driver on my Samba server for
use with my PDF creation spool. However, the issue is that I cannot get
the driver in question out of its box in a form that is useful for "Have
Disk..." as it comes in an EXE that installs itself to
%SYSTEMDRIVE%\SPOOL, etc. I have run into this in the past and simply gave
up, but I feel like there has got to be
2008 Sep 25
1
Saving R-objects to a database
Someone solved the problem of saving R-objects to a database?
These are the two varaints I've tried so far without success:
1)
ser = rawToChar(serialize(obj, NULL, ascii=TRUE))
dbSendQuery(link, paste("insert into table values(1, '",ser,"')",sep=''))
The field to save the object in the MySQL Database is of type text.
unser = dbGetQuery(link,"select
2008 Oct 28
2
writting null (\000 or ^@) to an external text file without the new warning
I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like:
writeChar(rawToChar(as.raw(0)), con)
where con is a connection to the file. Previous to version 2.8.0 this worked fine. With 2.8.0 it still works, but I get a warning
2006 Sep 05
1
serialize changes for 2.4.0
I noticed today that in R 2.3.1, I get
> serialize(list(1,2,3), NULL, ascii = TRUE)
[1] "A\n2\n131841\n131840\n19\n3\n14\n1\n1\n14\n1\n2\n14\n1\n3\n"
>
but in R 2.4.0 alpha I get
> serialize(list(1,2,3), NULL, ascii = TRUE)
[1] 41 0a 32 0a 31 33 32 30 39 36 0a 31 33 31 38 34 30 0a 31 39 0a 33 0a 31 34
[26] 0a 31 0a 31 0a 31 34 0a 31 0a 32 0a 31 34 0a 31 0a 33 0a
>
2008 May 19
4
2 Minor issues with 1.3.0 on windows
Hi all,
Lest I forget:
Windows XP Pro SP2
C:\CruiseControl\cruisecontrolrb-1.3.0>ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
We found two minor problems with CC.rb when trying to run on windows.
The first effects the Dashboard saying there is no project. In
boot.rb we had to add a .gsub(''\\'',''/'') in #find_home when
2011 Oct 21
2
Change column/row-name
Hi,
I am very happy. My problems are solved without one little thing:
(Iske <- matrix(c(1, 1, 1, 2, 2, 2, 1, 1, 1, 5, 1, 2, 2, 2, 1, 1, 1,
4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 4, 4, 4, 4, 4, 4, 2,
2, 2, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 2), ncol = 5)) #My Matrix
Iske<- Iske+33 #I want see the letters
(Iske.char<-apply(Iske, 1, function(x) rawToChar(as.raw(x)))) #Numbers to