是时候进行一些语言考古了!Tcl/Tk 是一种大家很少再看到的语言,但它在当时比较流行。它对嵌入非常友好——最初是一种用于编写现有应用程序的语言,而不是用于创建独立程序。它还带有内置的图形工具包(“Tk”部分),在它非常罕见的时候。
和--with-tcltk-libs这两个参数移除! 并使用 TCLTK_CFLAGS 和 TCLTK_LIBS 替代!!! Python 3.10.x (及以下版本,如 Python-3.9.16) 以及 Python 2.x.x 在 configure 中 --with-tcltk-includes和--with-tcltk-libs , --with-tcltk-includes switches being removed from 3.11 - pyenv#2499,在编译安装过程中使用 TCLTK_CFLAGS 和 TCLTK_LIBS export TCLTK_LIBS="-L/Bioinfo/Pipeline/SoftWare/ActiveTcl-8.6.9/lib -ltcl8.6 -ltk8.6" export TCLTK_CFLAGS
library("tcltk") library("tcltk2") 主要掌握以下两个主要函数: 设置进度条的格式 tkProgressBar( title = "R progress bar" 而tcltk2包则可以自定义更多的进度条属性和外观界面,使得进度条更具个性化。 library("tcltk2") ###开启进度条 root <- tktoplevel() l1 <- tk2label(root) pb1 <- tk2progress(root,length
/configure --prefix=<...path> --without-tcltk 6. make && make install仍会出错, 提示: SUBDIR templates MSGFMT *** [po/build/locale/bg/LC_MESSAGES/git.mo] Error 127 解决办法: make NO_CURL=1 NO_MSGFMT=YesPlease NO_TCLTK
) setwd('D:\\work\\F1\\mut') load('mRNA_exprSet.Rdata') library(dplyr) library(tidyr) library(tcltk i*100/nrow(mRNA_exprSet), sprintf("进度 (%s)", info), info) } library(tcltk
内置基础包basedatabase:存放数据集utils:工具函数grDevices:绘图相关graphics:R绘图函数stats:与统计相关的函数methods:一般定义方法和类splinesstats4tcltk
Fortran free-form compiler: gfortran -g -O2 Obj-C compiler: Interfaces supported: tcltk Fortran free-form compiler: gfortran -g -O2 Obj-C compiler: Interfaces supported: tcltk
ade4TkGUI[19]基于软件包tcltk[20],它是R[21]基本分配的一部分。 ade4TkGUI/index.html [19]ade4TkGUI: http://cran.univ-lyon1.fr/web/packages/ade4TkGUI/index.html [20]tcltk
library/ KernSmooth boot compiler graphics mgcv parallel splines tcltk survival utils Matrix cluster foreign lattice nnet splines tcltk
unable to open connection to X11 display '' > capabilities() jpeg png tiff tcltk
unable to open connection to X11 display '' > capabilities() jpeg png tiff tcltk
LINQ', 'Xquer', 'Lua', 'Python', 'java', 'SQL', 'VB', 'Perl', 'PHP', 'Python', 'Ruby', 'ASP', 'JSP', 'TclTk 1), ('PostScript', 1), ('awk', 1), ('Ruby', 1), ('AppleScript', 1), ('Object', 1), ('java', 11), ('TclTk
: In png(“aa.png”) : 无法打开链结到X11显示” 分析: 打开R控制台,输入capabilities(),可以看到: > capabilities() jpeg png tiff tcltk
nrow(iris)) train <- iris[index,] test <- iris[index,] error <- as.numeric() 加载包以及划分训练集和测试集 library(tcltk
导入模型包############# library(arules) library(arulesSequences) library(dplyr) library(sqldf) library(tcltk ##导入模型包############# library(arules) library(arulesSequences) library(dplyr) library(sqldf) library(tcltk
iris[index,] test <- iris[index,] error <- as.numeric() #################################### library(tcltk
21] "rpart" "spatial" "splines" "stats" [25] "stats4" "survival" "tcltk
Startp> ##D Startp> ##D ## Example .Renviron on Windows Startp> ##D R_LIBS=C:/R/library Startp> ##D MY_TCLTK
make CC='gcc -pthread' LDSHARED='gcc -pthread -shared ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall' _TCLTK_INCLUDES ='' _TCLTK_LIBS='' .
stackoverflow上搜索一番之后,发现有人提示说,某些情况下是tcl/tk安装不完整造成的,于是就重新下来了tcl/tk的源代码包: 下载链接: http://www.tcl.tk/software/tcltk